package ro.jproject.imc.model;

public class Student extends Person {

	private int studentNo;
	private String status;

	public Integer getStudentNo() {
		return studentNo;
	}

	public void setStudentNo(int studentNo) {
		this.studentNo = studentNo;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	public String[] getFileds() {
		String[] fields = new String[5];
		int ct = 0;
		
		fields[ct++] = "firstName";
		fields[ct++] = "lastName";
		fields[ct++] = "id";
		fields[ct++] = "studentNo";
		fields[ct++] = "status";
		
		return fields;
	}
	
	public String[] getValues() {
		String[] values = new String[5];
		int ct = 0;
		
		values[ct++] = this.getFirstName();
		values[ct++] = this.getLastName();
		values[ct++] = this.getCnp().toString();
		values[ct++] = this.getStudentNo().toString();
		values[ct++] = this.getStatus();
		
		return values;
	}
	
	
	
	
	
}
